package com.qf.stream;

import org.springframework.cloud.stream.annotation.Output;
import org.springframework.messaging.MessageChannel;
import org.springframework.stereotype.Component;

/**
 * @author wbzs,
 * @date 2022/10/27,
 * @time 19:16,
 */
@Component
public interface ProviderStram {

    @Output("suibianxie")//output对外发送的，实际上就是生产者的通道,'suibianxie'就是交换机的名字，如果不存在就会自动声明
    MessageChannel MESSAGE_CHANNEL();
}
